<div id="sequential_edit_index">
  <ul>
    <% for photo in @photo.entry.photos %>
    <li>
      <% index_link_id = (photo == @photo) ? 'id="current_index_link" ' : "" %>
      <div <%= index_link_id %>class="index_link">
        <a href="<%= sequential_edit_photo_url(photo) %>">
          <img class="thumbnail" src="<%= "http://" << request.domain << ":" << request.port.to_s << photo.thumbnail_relative_url %>" />
          <br /><span class="title">
            <%=h photo.title %>
          </span>
        </a>
      </div>
    </li>
    <% end %>
  </ul>
</div>
